<div id="top">
		<div class="container">
			<div class="pull-right">
				<!-- <button type="button" class="btn btn-success btn-xs" data-toggle="modal" data-target="#myModal">
				  	登录
				</button>
				<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
					<div class="modal-dialog" role="document">
						<div class="modal-content">
							<div class="modal-header">
								<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
								<h4 class="modal-title" id="myModalLabel">登录</h4>
							</div>
							<form>
								<div class="modal-body">
									<div class="form-group">
										<label for="exampleInputEmail1">用户名</label>
										<input type="text" class="form-control" id="exampleInputEmail1" placeholder="请输入用户名">
									</div>
									<div class="form-group">
										<label for="exampleInputPassword1">密码</label>
										<input type="password" class="form-control" id="exampleInputPassword1" placeholder="请输入密码">
									</div>
								</div>
								<div class="modal-footer">
									<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
									<button type="submit" class="btn btn-success">登录</button>
								</div>
							</form>
						</div>
					</div>
				</div> -->
				<a href="/users/login"><button class="btn btn-success btn-xs">登录</button></a>
				<a href="#">Home</a>
				<a href="#">官方微博</a>
				<a href="#">关于我们</a>
			</div>
		</div>
</div>
<div class="topline"></div>
<div class="container logo">
	<img class="pull-left" src="images/logo.png">
	<div class="pull-right">
		<input class="sr" type="text" placeholder="请输入关键词">
		<input class="an" type="submit" value="搜索">
	</div>
</div>
<div id="nav">
	<div class="container">
		<ul class="nav nav-pills">
			<li <% if(cata_id==0){%>class="active" <%}%>><a href="/">首页</a></li>
			<% for(var i=0; i<catalog.length; i++){%>
			<li <% if(catalog[i].id==cata_id){cata_name=catalog[i].name;  %>class="active" <%}%> ><a href="/news?id=<%=catalog[i].id%>" ><%=catalog[i].name%></a></li>
			<%}%>
		</ul>
	</div>
</div>